package com.hst.web.base.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.hst.core.annotation.Comment;

@Entity
@Table(name = "t_employee_contractordept")
@Comment("员工和承包商部门关联表")
public class TEmployeeContractorDept implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	@Id
	@Comment("企业编号")
	@Column(length=20,name="company_code")
	private String companyCode;
	
	@Id
	@Comment("承包商编号")
	@Column(length=20,name="contractor_code")
	private String contractorCode;
	
	@Id
	@Comment("员工编号")
	@Column(length=20,name="employee_code")
	private String employeeCode;

	//start 承运商新增需求
	@Comment("合同编号")
	@Column(length = 50,name = "contract_code")
	private String contractCode;
	//end 承运商新增需求

	public String getCompanyCode() {
		return companyCode;
	}

	public void setCompanyCode(String companyCode) {
		this.companyCode = companyCode;
	}

	public String getContractorCode() {
		return contractorCode;
	}

	public void setContractorCode(String contractorCode) {
		this.contractorCode = contractorCode;
	}

	public String getEmployeeCode() {
		return employeeCode;
	}

	public void setEmployeeCode(String employeeCode) {
		this.employeeCode = employeeCode;
	}

	public String getContractCode() {
		return contractCode;
	}

	public void setContractCode(String contractCode) {
		this.contractCode = contractCode;
	}
}
